home *** CD-ROM | disk | FTP | other *** search
- PROBLEM WITH SYSTEM COMMAND FOR COUNT OPERATION
-
- David Scott
-
-
- The OS_FSControl (&29) system command for filing system control with R0
- set to 28 (page 262 of the Programmers Reference Manual) has a problem
- which is not apparent from the description given.
-
- If the call is used in a program to obtain values for use by the program
- it is not possible to do this without the information also being printed
- on the screen. This is because bit 8 of the action mask in R3 must be
- set in order to get the correct values returned in R2 and R3.
-
- The way round this problem is to turn the screen output off using VDU21
- before making the system call and then to turn it back on afterwards
- with VDU6. If a printer is connected then this will also have to be
- temporarily disconnected with VDU3 before and VDU2 after the call.
-
-